import { EBook } from "@/util/net-disk/baidu/EBook";

export function BookList(list: EBook[]) {
  return (
    <>
      <div>列表</div>
      <div className="c-book-list">{
        list.map((item) => {
          return BookItem(item);
        })
      }</div>
    </>
  );
}

export function BookItem(item: EBook) {
  return (
    <div className="c-book-item">
      <div className="book-name">{item.name}</div>
    </div>
  );
}

